package com.hujiang.basic.search.handler.impl;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import com.hujiang.basic.search.api.IndexService;
import com.hujiang.basic.search.handler.impl.IndexServiceImpl;
import org.springframework.scheduling.annotation.EnableAsync;

@Configuration
@ComponentScan({"com.hujiang.basic.search.common","com.hujiang.basic.search.zookeeper"})
@PropertySource("application-testcase.properties")
public class IndexTestConfig {

    @Bean
    IndexService indexService() {
        return new IndexServiceImpl();
    }
}
